<!DOCTYPE html>
<html lang="en" class="perfect-scrollbar-off nav-open" dir="ltr">
  <head>
    <script>
      if (
        window.location.hostname !== "app.requestly.io" &&
        window.location.hostname !== "app.requestly.com" &&
        window.location.hostname !== "beta.requestly.io" &&
        window.location.hostname !== "app.beta.requestly.com" &&
        window.location.hostname !== "app.sessionbear.com" &&
        window.location.hostname !== "beta.sessionbear.com" &&
        window.location.hostname !== "localhost" &&
        !window.location.hostname.startsWith("requestly-dev") &&
        isNaN(parseInt(window.location.hostname.replace(/\./g, ""))) // dumb check for an IP (or any number really)
      ) {
        window.location.href = "https://app.requestly.io";
      }

      const deviceId = localStorage.getItem("__amplitude_deviceId");
      const uid = localStorage.getItem("__rq_uid");

      const eventObject = { device_id: deviceId, event_type: "extension_uninstalled" };
      const attributes = { extension_uninstall_date: new Date().toISOString().split("T")[0] };

      if (uid) eventObject["user_id"] = uid;

      const isHeadless =
        window.navigator.webdriver === true || /HeadlessChrome/.test(window.navigator.userAgent) === true;

      if (!isHeadless && "https://app.requestly.io/goodbye/" === window.location.href && deviceId) {
        const a = { api_key: "6d37003f0cdb1921422bc474c634c135", events: [eventObject], user_properties: attributes };
        const b = new Blob([JSON.stringify(a)]);
        navigator.sendBeacon("https://api2.amplitude.com/2/httpapi", b);
      }
    </script>
    <script>
      // Set favicon
      const hostname = window.location.hostname;
      let faviconPath = "/favicon.png";

      if (hostname.includes("sessionbear.com")) {
        faviconPath = "/sessionBearFavicon.png";
      }

      const link = document.createElement("link");
      link.rel = "icon";
      link.href = faviconPath;
      window.document.head.appendChild(link);

      // Set the page title
      let pageTitle = "Requestly - Best HTTP Interceptor & Mocking Tool for Web & Mobile Apps"; // default title
      if (hostname.includes("sessionbear.com")) {
        pageTitle = "SessionBear - Capture & Kill bugs in seconds!";
      }

      window.document.title = pageTitle;

      if (window.location.pathname === "/pricing") {
        const description =
          "Free at $0, Lite for $8/month, Basic at $15/member/month, and the Professional plan—our best value—at $23/member/month.";
        const metaTag = document.createElement("meta");
        metaTag.name = "description";
        metaTag.content = description;
        document.querySelector("head").appendChild(metaTag);
      }
    </script>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
    <meta name="theme-color" content="#000000" />
    <link rel="manifest" href="/manifest.json" />
    <!-- <link rel="shortcut icon" type="image/png" href="/favicon.png" /> -->
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link
      rel="stylesheet"
      href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap"
    />
    <link
      rel="stylesheet"
      href="https://fonts.googleapis.com/css?family=Roboto%20Mono:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap"
    />
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap" rel="stylesheet" />
    <script>
      window.global = window;
    </script>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-7FZEBFLWK0"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag() {
        dataLayer.push(arguments);
      }
      gtag("js", new Date());

      gtag("config", "G-7FZEBFLWK0");
    </script>

    <style type="text/css">
      body {
        height: 100%;
        margin: 0;
        padding: 0;
        width: 100%;
        pointer-events: none;
      }

      body {
        font-family: var(--requestly-font-family-default), Inter;
        font-size: 13px;
        -webkit-font-smoothing: antialiased;
        background-color: var(--requestly-color-background-dark,#141414) !important;
      }

      .ipl-progress-indicator.available {
        opacity: 0;
      }

      .ipl-progress-indicator {
        background-color: var(--requestly-color-background-dark, #141414);
        width: 100%;
        height: 100%;
        position: fixed;
        opacity: 1;
        pointer-events: none;
        -webkit-transition: opacity cubic-bezier(0.4, 0, 0.2, 1) 436ms;
        -moz-transition: opacity cubic-bezier(0.4, 0, 0.2, 1) 436ms;
        transition: opacity cubic-bezier(0.4, 0, 0.2, 1) 436ms;
        z-index: 9999;
      }

      .insp-logo-frame {
        display: -webkit-flex;
        display: -moz-flex;
        display: flex;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: center;
        -moz-justify-content: center;
        justify-content: center;
        -webkit-animation: fadein 436ms;
        -moz-animation: fadein 436ms;
        animation: fadein 436ms;
        height: 98%;
      }

      .insp-logo-frame-img {
        max-width: 13%;
        max-height: 13%;
        -webkit-align-self: center;
        -moz-align-self: center;
        align-self: center;
      }

      .ipl-progress-indicator-head {
        background-color: #d7e5fd;
        height: 4px;
        overflow: hidden;
        position: relative;
      }

      .ipl-progress-indicator .first-indicator,
      .ipl-progress-indicator .second-indicator {
        background-color: #264ec8;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        position: absolute;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        transform-origin: left center;
        -webkit-transform: scaleX(0);
        -moz-transform: scaleX(0);
        transform: scaleX(0);
      }

      .ipl-progress-indicator .first-indicator {
        -webkit-animation: first-indicator 2s linear infinite;
        -moz-animation: first-indicator 2s linear infinite;
        animation: first-indicator 2s linear infinite;
      }

      .ipl-progress-indicator .second-indicator {
        -webkit-animation: second-indicator 2s linear infinite;
        -moz-animation: second-indicator 2s linear infinite;
        animation: second-indicator 2s linear infinite;
      }

      .ipl-progress-indicator .insp-logo {
        animation: App-logo-spin infinite 20s linear;
        border-radius: 50%;
        -webkit-align-self: center;
        -moz-align-self: center;
        align-self: center;
      }

      @keyframes App-logo-spin {
        from {
          transform: rotate(0);
        }

        to {
          transform: rotate(360deg);
        }
      }

      @-webkit-keyframes fadein {
        from {
          opacity: 0;
        }

        to {
          opacity: 1;
        }
      }

      @-moz-keyframes fadein {
        from {
          opacity: 0;
        }

        to {
          opacity: 1;
        }
      }

      @keyframes fadein {
        from {
          opacity: 0;
        }

        to {
          opacity: 1;
        }
      }

      @keyframes first-indicator {
        0% {
          transform: translate(0) scaleX(0);
        }

        25% {
          transform: translate(0) scaleX(0.5);
        }

        50% {
          transform: translate(25%) scaleX(0.75);
        }

        75% {
          transform: translate(100%) scaleX(0);
        }

        100% {
          transform: translate(100%) scaleX(0);
        }
      }

      @keyframes second-indicator {
        0% {
          transform: translate(0) scaleX(0);
        }

        60% {
          transform: translate(0) scaleX(0);
        }

        80% {
          transform: translate(0) scaleX(0.6);
        }

        100% {
          transform: translate(100%) scaleX(0.1);
        }
      }
    </style>
  </head>

  <body class="dark">
    <noscript> You need to enable JavaScript to run this app. </noscript>
    <!-- Start - Preloading animation -->
    <div class="ipl-progress-indicator" id="ipl-progress-indicator">
      <div class="ipl-progress-indicator-head">
        <div class="first-indicator"></div>
        <div class="second-indicator"></div>
      </div>
      <div class="insp-logo-frame">
        <img class="insp-logo-frame-img" src="" />
      </div>
    </div>
    <!-- End - Preloading animation -->
    <div id="root"></div>
    <script src="https://accounts.google.com/gsi/client" async></script>
    <script type="module" src="/src/index.jsx"></script>
    <!--
      This HTML file is a template.
      If you open it directly in the browser, you will see an empty page.

      You can add webfonts, meta tags, or analytics to this file.
      The build step will place the bundled scripts into the <body> tag.

      To begin the development, run `npm start` or `yarn start`.
      To create a production bundle, use `npm run build` or `yarn build`.
    -->
  </body>
  <script>
    const rqLogo =
      "";
    const sessionBearLogoPath = "/sessionBear_lg.svg";

    const logo = document.querySelector(".insp-logo-frame-img");
    if (hostname.includes("sessionbear.com")) {
      logo.src = sessionBearLogoPath;
    } else {
      logo.src = rqLogo;
    }
  </script>
</html>
